-- GENERATED SPELL FOR [Griegen] --


function spell0_32471(pUnit, Event) --@Smash,n/a--
pUnit:FullCastSpellOnTarget(51334,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32471', 626, 1)
end

function Sorts_32471(pUnit, Event)
local choix_sorts_32471 = math.random(0, 0)
if choix_sorts_32471 == 0 then
pUnit:RegisterEvent('spell0_32471', 1, 1)
end
end

function mob32471_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32471', math.random(1500, 3000), 1)
end

function mob32471_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32471_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32471_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32471, 1, 'mob32471_Action')
RegisterUnitEvent(32471, 2, 'mob32471_Leave')
RegisterUnitEvent(32471, 3, 'mob32471_Kill')
RegisterUnitEvent(32471, 4, 'mob32471_Die')
